<ui:composition
	template="/WEB-INF/templates/BackOffice/BasicTemplate.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:h="http://xmlns.jcp.org/jsf/html">

	<ui:define name="title">Redéfinie le titre</ui:define>

	<ui:define name="content">

		<h:form>
				#{msgs1.label_login} : <h:inputText value="#{loginFrontOfficeBean.login}" /><br />
				#{msgs1.label_mdp} : <h:inputSecret value="#{loginFrontOfficeBean.password}" /><br />
			<h:commandButton value="#{msgs1.label_connecter}" action="#{loginFrontOfficeBean.connection}" />
			<br />
			<div>
				<h:outputText value="#{msgs1.label_login_incorrect}" rendered="#{loginFrontOfficeBean.authFailed}" />
			</div>

		</h:form>

	</ui:define>
</ui:composition>